config.restUrl = "http://localhost:"+window.location.port+"/bonita/API/";
config.rootUrl = "http://localhost:"+window.location.port+"/bonita/";